<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: zhangyi
// +----------------------------------------------------------------------

namespace app\crm\controller;
use think\Loader;

class Priceauditprocess extends CrmController
{
    /**
     * 加载模板priceAuditProcess
     */
    public function priceAuditProcess()
    {
		//分配增删改的权限
		$menuname = "Price audit process";
		$p_menuname = $_SESSION['menu'][$menuname]; //父菜单
		$priv = $_SESSION["user_priv"][$p_menuname][$menuname];	
		$this->assign("username",$_SESSION['user_info']['username']);
        $this->assign("priv",$priv);
        // 模板输出
        return $this->fetch('priceAuditProcess');
    }

	public function priceAuditProcessDataList(){
		$arrData = Loader::model('Priceauditprocess')->priceAuditProcessDataList();
        echo json_encode($arrData);
	}
	
	public function updateProcess()
	{
		Loader::model('Priceauditprocess')->updateProcess();
	}
   





}